/*
 * Copyright (c) 2021 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.container {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
.header{
    flex-direction: row;
    background-color: #D9D9D9;
    height: 20%;
    width: 100%;
}
#backBtn{
    position: absolute;
    left: 10fp;
    top: 10fp;
    width: 30fp;
    height: 30fp;
}
#titleText{
    color: black;
    font-size: 22fp;
}
#titleContainer {
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50fp;
    background-color: #e9e9e9;
    flex: 0 0;
}
.header-title{
    width:100%;
    height:70px;
    flex-direction: row;
    margin: 20px;
    text-align: center;
}
.tab-bar {
    height: 80px;
}

.tab-text {
    font-size: 46px;
    text-align: center;
}

.tab-content {
    width: 100%;
    height: 100%;
    justify-content: center;
}

.item-content {
    height: 100%;
    justify-content: center;
}


.list {
    width: 100%;
    padding: 20px
}

.text {
    font-size: 22fp;
    margin: 10px;
    height: 180px;
    max-lines: 4;
    flex-weight: 3
}
.image {
    margin: 10px;
    height: 180px;
    width: 180px;
    border-radius: 15px;

/*    flex-weight: 1*/
}
.text-item{
    font-size: 22fp;
    margin: 10px;
    height: 180px;
    right: 20px;
}
.item-main{
    height: 140px;
    width: 100%;
}
.item-image{
    margin: 10px;
    height: 120px;
    width: 120px;
    right: 20px;
    border-radius: 15px;
}
.read-time{
    font-size: 22px;
/*    margin: 10px;*/
    height: 120px;
    width: 120px;
    max-lines: 4;
    position: absolute;
    right: 20px;
    top:60px;
    color: darkgrey;
    justify-content: center;
    flex-weight: 3
}

@media screen and (device-type: phone) and (orientation: landscape) {
    .title {
        font-size: 60px;
    }
}

@media screen and (device-type: tablet) and (orientation: landscape) {
    .title {
        font-size: 100px;
    }
}